package com.shun.upms.dto;

import com.shun.common.page.ShunPage;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 菜单DTO
 * </p>
 *
 * @author clever
 * @since 2021-09-27
 */
@Data
@ApiModel(value = "SysAdminMenu对象", description = "菜单表")
public class SysAdminMenuDto extends ShunPage implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键id")
    private String menuId;

    @ApiModelProperty("父级ID")
    private String menuParentId;

    @ApiModelProperty("菜单编号")
    private String menuCode;

    @ApiModelProperty("菜单父编号")
    private String menuPcode;

    @ApiModelProperty("父菜单编号列表")
    private String menuPcodes;

    @ApiModelProperty("菜单名称")
    private String menuName;

    @ApiModelProperty("菜单图标")
    private String menuIcon;

    @ApiModelProperty("route地址")
    private String menuRoute;

    @ApiModelProperty("url地址")
    private String menuUrl;

    @ApiModelProperty("菜单排序号")
    private Integer menuSort;

    @ApiModelProperty("菜单层级 1 目录 2 页面 3 按钮 4 资源")
    private String menuLevel;

    @ApiModelProperty("是否是菜单(字典) 0 是 1 否")
    private String menuFlag;

    @ApiModelProperty("备注")
    private String menuDesc;

    @ApiModelProperty("菜单状态(字典) 0 正常 1不可用")
    private String menuStatus;

    @ApiModelProperty("是否打开新页面的标识(字典) 0 是 1 否")
    private String newPageFlag;

    @ApiModelProperty("是否打开(字典) 0 是 1 否")
    private String menuOpenFlag;
}
